package com.xydzxt.www.dao;

import com.xydzxt.www.model.Major;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MajorDao {
    List<Major> selectAllMajor(Major major);

    Major selectById(int id);
}
